<?php
/**
 *	Data Model of Right Objects.
 *	@package		tools.BugTracker
 *	@author			Christian Würker <Christian.Wuerker@CeuS-Media.de>
 *	@since			12.02.2006
 *	@version		0.6
 */
/**
 *	Data Model of Right Objects.
 *	@package		tools.BugTracker
 *	@extends		CMF_Krypton_Core_Model
 *	@author			Christian Würker <Christian.Wuerker@CeuS-Media.de>
 *	@since			12.02.2006
 *	@version		0.6
 */
final class Model_RightObjectAction extends CMF_Krypton_Core_Model
{
	/**
	 *	Constructor.
	 *	@access		public
	 *	@param		int		$rightObjectActionId		ID of Right Object Action
	 *	@return		void
	 */
	public function __construct( $rightObjectActionId = NULL )
	{
		$tableName	= "rightobjectactions";
		$fields		= array (
			"rightobjectaction_id",
			"rightobject_id",
			"rightaction_id",
		);
		$primaryKey	= "rightobjectaction_id";
		$indices	= array( "rightobject_id", "rightaction_id" );
		parent::__construct( $tableName, $fields, $primaryKey, $rightObjectActionId );
		$this->setForeignKeys ( $indices );
	}
}
?>
